package Card;
import java.util.List;
public class Test {
    public static void main(String[] args){
        BuyCards buyCards = new BuyCards();
        List<Card> cards = buyCards.buyPlayCards();
        System.out.println("洗牌前:");
        System.out.println(cards);
        System.out.println("洗牌后:");
        buyCards.shuffle(cards);
        System.out.println(cards);
        List<List<Card>> player = buyCards.pickCard(cards);
        for(int i = 0; i < 3; i++){
            System.out.println("第" + (i + 1) + "个人的牌是:" + player.get(i));
        }
        System.out.println("剩余的牌" + cards);
    }
}
